<div class="title">Cập nhật phòng</div>
<?php echo $this->Form->create('System', array('action' => 'editPhong')); ?>
	<?php if (isset($errors) && !empty($errors)): ?>
	<div id="errors">
		<ul>
			<?php foreach ($errors as $rules):
				foreach ($rules as $key => $error):
				?>
				<li><?php echo $error;?></li>
			<?php endforeach; endforeach ?>
		</ul>
	</div>
	<?php endif ?>
	
	<p>
		<span class="title">Tên phòng<span class="required">*</span></span>
		<span><?php echo $this->Form->input('Phong.name', array('div' => false, 'label' => false));?></span>
	</p>
	<p>
		<span class="title">Chức năng<span class="required">*</span></span>
		<span><?php echo $this->Form->textarea('Phong.chuc_nang', array('div' => false, 'label' => false,));?></span>
	</p>
	<input type="submit" value="Cập nhật"/>
	<input type="submit" value="Cập nhật"/>
<?php echo $this->Form->end(); ?>